package ca.llsutherland.squash.domain;



public class Gym extends NamedDomainObject{

    private static final long serialVersionUID = 1L;
    private String phoneNumber = "";
    private String slogan = "";
    private String streetAddress = "";
    private Administrator lastUpdatedBy;
    
    public Gym() {
        //don't do nuttin'
    }

    public Gym(String name, Clock dateCreated, Clock dateUpdated) {
        super.setName(name);
        super.setDateCreated(dateCreated);
        super.setDateUpdated(dateUpdated);
    }


    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }
    
    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getSlogan() {
        return slogan;
    }
    
    @Override
    public String toString() {
        return "Gym : " + getId() + ", " + getName();
    }

    public void setStreetAddress(String streetAddress) {
        this.streetAddress = streetAddress;
    }

    public String getStreetAddress() {
        return streetAddress;
    }

    public Administrator getLastUpdatedBy() {
        return this.lastUpdatedBy;
    }

    public void setLastUpdatedBy(Administrator administrator) {
        this.lastUpdatedBy = administrator;
    }

}
